import { service } from '@/service'
const baseUrl='/hbsys-system/sorgInfos'


//分页查询
export const getPortraitList = (data) => {
  return service.request({
    url: `${baseUrl}/queryByPage`,
    method: 'POST',
    data
  })
}
//查询评分规则
export const setPoint = () => {
  return service.request({
    url: `${baseUrl}/scoring`,
    method: 'GET'
  })
}
//综合画像
export const  portrait= (params) => {
  return service.request({
    url: `/hbsys-system/organization/admin/portrait`,
    method: 'GET',
    params
  })
}



export default { getPortraitList ,setPoint ,portrait }